[CLEANUP] Use an (int) cast instead of intval

Resolves: #63488

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