The sub-bandgap energy loss satellites in the RIXS spectra of beryllium compounds