lsmashsource: More robust check for availability of direct rendering.