A simple proof of the almost sure discreteness of a class of random measures