Fix panic mock prototype

Since the API changed to allow for variable arguments in the panic
function, we need a little fix.