Convert panic() calls to more specific, overrideable methods.

Seeing as a few RT tickets for Rakudo want to have tests for some Regex failures but those tests don't want to test against X::Adhoc, we need to have the option of throwing proper Exceptions for those failures. This patch implements some of those methods.