shcodecs-record: use framerate_elapsed_time
shcodecs-record: use framerate_elapsed_time

Replace calls to gettimeofday() with framerate_elapsed_time(), which
stores the original time and uses clock_gettime internally

kfish/libshcodecs,kfish/libshcodecs