improved error message in php extension

This makes it easier to debug ketama_roll() issues in the php extension