Merge pull request #5120 from lioncash/const JitBase: Make MergeAllowedNextInstructions a const member function