kernel/sysctl-test: Remove some casts which are no-longer required