SI-7091 Don't try to put a protected accessor in a package.

This shows up when a protected[pack] class has a constructor
with a default argument.

Regressed in f708b87 / SI-2296.

Review by @adriaanm

 - Added commentary
 - Wished I'd hit the merge button on your hastily retracted lgtm on #2110 (you tease!)