[BUGFIX] Fix active page calculation in indexed_search

Because of introducing a strict comparion in #60346, the active page is
not highlighted anymore as a float and an int value are compared.

Change-Id: Id66c77e64fb4824f5b254240b1774f77adfa6ab9
Resolves: #62532
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/33605
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>