REF: implement first_valid_index in core.missing
The implementation here operates on the values (ndarray or EA) instead of on the Series/DataFrame.

This lets us avoid a runtime import of Series, so core.missing joins the Simple Dependencies Club.