Determine a new function boundaries
ea - starting address of a new function
returns: if a function already exists,
then return its end address.
if a function end cannot be determined,
then return BADADDR
otherwise return the end address of the new function
long find_func_end(long ea);