Fix 6e8d0b3 applied to wrong files:

Patch by John McDonald of Nvidia (2012-12-05) to remove hard limit on maximum hookable functions.
Merge branch 'fix-remove-max-limit-patch'