[c] How to remove the character at a given index from a string in C?