Add a version of FindUnusedReg that restrict search to a specific set of registers.