[CLEANUP] #5201 Convert intval/float to casts

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