Line formation in solar granulation V. Missing UV-opacity and the photospheric Be abundance