[TASK] Use (int) instead of intval()

Releases: 2.0.0
Change-Id: I518e33a369a6b2bfd2eb2df48ea437e52eeffc45
Reviewed-on: http://review.typo3.org/32072
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>