[CLEANUP] #5201 Convert intval/float to casts

Change-Id: I3bcf79df643a76420bb4515aea7bc59c486dd5a9
Reviewed-on: http://review.typo3.org/35432
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: Oliver Klee <typo3-coding@oliverklee.de>