Partially convert alEffect.c and alFilter.c to the new error handling