Measuring X-ray variability in faint/sparsely sampled active galactic nuclei